import request from '@/utils/request'

// 查询企业资质信息列表
export function listEntbasicinfo(query) {
  return request({
    url: '/business/entbasicinfo/list',
    method: 'get',
    params: query
  })
}

// 查询企业资质信息详细
export function getEntbasicinfo(id) {
  return request({
    url: '/business/entbasicinfo/' + id,
    method: 'get'
  })
}

// 新增企业资质信息
export function addEntbasicinfo(data) {
  return request({
    url: '/business/entbasicinfo',
    method: 'post',
    data: data
  })
}

// 修改企业资质信息
export function updateEntbasicinfo(data) {
  return request({
    url: '/business/entbasicinfo',
    method: 'put',
    data: data
  })
}

// 删除企业资质信息
export function delEntbasicinfo(id) {
  return request({
    url: '/business/entbasicinfo/' + id,
    method: 'delete'
  })
}
